package com.effectiv.gooruda.rest.service.api;

import java.util.List;

import org.springframework.social.twitter.api.Place;
import org.springframework.social.twitter.api.PlacePrototype;
import org.springframework.social.twitter.api.PlaceType;
import org.springframework.social.twitter.api.SimilarPlaces;

public abstract class TwitterGeoService {

	
	public abstract Place createPlace( String provider,PlacePrototype placePrototype) ;

	
	public abstract SimilarPlaces findSimilarPlaces( String provider,double latitude, double longitude, String name) ;
	
	public abstract SimilarPlaces findSimilarPlaces( String provider, double latitude, double longitude,
			String name, String streetAddress, String containedWithin) ;

	
	public abstract Place getPlace( String provider,String id) ;

	
	public abstract List<Place> reverseGeoCode( String provider,double latitude, double longitude) ;

	
	public abstract List<Place> reverseGeoCode( String provider,double latitude, double longitude, PlaceType granularity,
			String accuracy) ;

	
	public abstract List<Place> search( String provider,double latitude, double longitude) ;

	
	public abstract List<Place> search( String provider,double latitude, double longitude, PlaceType granularity,
			String accuracy, String query) ;

}
